package org.lds.ers.client;

import java.util.List;

import org.lds.ers.client.model.LoginInfo;
import org.lds.ers.client.model.SysAdminInfo;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface LoginServiceAsync {
	void login(String requestUri, AsyncCallback<LoginInfo> async);
	
	void addAdmin(SysAdminInfo info, AsyncCallback<SysAdminInfo> async);
	void removeAdmin(Long id, AsyncCallback<Boolean> async);
	void getAdmins( AsyncCallback<List<SysAdminInfo>> async);
	
}
